home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / ksh48.zip / ChangeLog < prev    next >
Text File  |  1993-01-12  |  13KB  |  378 lines

  1. Sat Dec  5 23:54:40 1992  Simon J. Gerraty  (sjg@zen)
  2.  
  3.     * finally fixed the fd leakage that caused pipes to not terminate
  4.     immediately.
  5.  
  6. Sat Nov 28 23:01:38 1992  Simon J. Gerraty  (sjg@zen)
  7.  
  8.     * Makefile: added install target
  9.  
  10. Wed Nov 25 09:10:11 1992  Simon J. Gerraty  (sjg@zen)
  11.  
  12.     * c_cd(c_ksh.c): fixed bug causing cd ., cd .. to look at $CDPATH.
  13.  
  14. Thu Nov 19 23:32:42 1992  Simon J. Gerraty  (sjg@zen)
  15.  
  16.     * For now bind emacs mode complete-list to ESC=
  17.  
  18. Tue Sep 15 15:24:38 1992  Simon J. Gerraty  (sjg@zen)
  19.  
  20.     * main.c: call init_editmode() between processing .profile and
  21.     .kshrc so that edit mode can be explicitly set in .kshrc
  22.     regardless of FCEDIT, EDITOR and VISUAL values.
  23.  
  24. Tue Sep 15 15:08:06 1992  Philippe Michel (michel@thomson-lcr.fr) 
  25.  
  26.     * main.c: fixed bug in command line argument processing.
  27.  
  28. Fri Aug 21 15:24:37 1992  Bruce Momjian  (root%candle.uucp@bts.com)
  29.  
  30.     * exec.c: replace all calls of execute(tree, 0) with 
  31.     execute(tree, flags & XXWHL) to ensure it is passed to children. 
  32.  
  33. Thu Aug 20 23:18:45 1992  Simon J. Gerraty  (sjg@zen)
  34.  
  35.     * fixed bug in complex_history: histsize not initialized before
  36.     call to alloc().
  37.  
  38. Thu Aug 13 00:00:42 1992  Simon J. Gerraty  (sjg@zen)
  39.  
  40.     * setstr(), varsub(): be robust when given dud args.
  41.  
  42. Wed Aug 12 23:56:29 1992  Simon J. Gerraty  (sjg@zen)
  43.  
  44.     * Fixed build problem when COMPLEX_HISTORY is not defined.
  45.     * don't make COMPLETE_LIST the default, add 
  46.         bind '^[^['=complete-list
  47.     in .kshrc if desired.
  48.  
  49.  
  50. Mon Aug  3 22:41:17 1992  Simon J. Gerraty  (sjg@zen)
  51.  
  52.     * emacs.c: correctly bind <ESC><erase>.
  53.     * var.c: treat COLUMNS and FCEDIT as special.
  54.  
  55. Sat Aug  1 17:17:02 1992  Simon J. Gerraty  (sjg@zen)
  56.  
  57.     * Incorporated massive contribution from Peter Collinson
  58.     includes new features (refer to ../Changes.pc) and support for
  59.     BSDI's BSD/386.
  60.  
  61.     * emacs.c: new command complete-list provided by
  62.     Neil.Smithline@eng.sun.com this nicer than the standard ksh
  63.     file completion.  Define COMPLETE_LIST to bind this to <ESC><ESC>
  64.     by default.
  65.  
  66. Sat May 30 15:44:56 1992  Simon J. Gerraty  (sjg@zen)
  67.  
  68.     * added flag XXWHL in tree.h, used by execute() when calling
  69.     exchild() to indicate that stdin should not be invalidated.  This
  70.     corrects handling of:  
  71.          ls | while read f; do ls -l $f; done
  72.  
  73.     Thanks to Bruce Momjian for tracking down the fault.
  74.  
  75. Tue May 12 19:23:17 1992  Simon J. Gerraty  (sjg@zen)
  76.  
  77.     * Fix bug in init_editmode() if EMACS and VI are not both defined.
  78.  
  79. Sun May  3 17:47:54 1992  Simon J. Gerraty  (sjg@zen)
  80.  
  81.     * sigact.c:  allow force build if USE_* defined.
  82.     * main.c: call init_editmode() _after_ processing /etc/profile.
  83.     * jobs.c: ensure SA_RESTART is defined.
  84.  
  85. Sat Apr 25 00:20:51 1992  Simon J. Gerraty  (sjg@zen)
  86.  
  87.     * Implemented a simple history file.
  88.     The default file is "$HOME/.pdksh_hist" but can be changed by
  89.     setting HISTFILE in any of /etc/profile,.profile or .kshrc.
  90.     The format is trivial - one line per history item.  
  91.     You can creat a set history file, by making it read-only.
  92.     History is only saved during wrap-up and only if the file is
  93.     writeable.  NOTE: if writeable the file is OVERWRITTEN.
  94.  
  95. Fri Apr 24 22:22:04 1992  Simon J Gerraty  (sjg@zen)
  96.  
  97.     * sigact.c: New file.
  98.     An implementation of sigaction() and freinds, which simply
  99.     interfaces to BSD's setsigmask() et al, BSD4.1's setsig() or plain
  100.     old signal(2).  It attempts to use the most useful available.
  101.     If it thinks the system really has sigaction() it compiles to
  102.     noting, and its header sigact.h does nothing.
  103.     At present all use of sigaction is bounded by USE_SIGACT, if/when
  104.     this approach appears to work, the alternatives will be withdrawn.
  105.  
  106. Fri Apr 24 10:42:40 1992  Simon J Gerraty  (sjg@taureau)
  107.  
  108.     * Added support for sigaction and friends!, turns out sigset() 
  109.     et al just don't handle job control.  Define USE_SIGACT if you
  110.     have sigaction().  Job control now works on this System V machine
  111.     (Bull DPX/2).
  112.  
  113.     * getsc_(lex.c), x_getc(edit.c):  Added goto's! to allow the
  114.     read() calls to be retried (on systems that don't do it
  115.     automatically) if the read() was interrupted by a SIGCHLD
  116.     (sigchld_caught > 0).  This was the cause of the problem with an
  117.     async child terminating the shell on System V.
  118.  
  119. Wed Apr 22 14:57:01 1992  Simon J Gerraty  (sjg@taureau)
  120.  
  121.     * exchild(jobs.c): block SIGCHLD when fork()ing, until safe to
  122.     receive.
  123.  
  124.     * Added support? for sigset() and friends.  Allow JOBS to work on
  125.     System V machines.  This does NOT work right yet.
  126.     With JOBS defined, an async process terminates the shell when it
  127.     (the child) exits, and ^Z does nothing!  
  128.  
  129. Tue Apr 21 15:18:08 1992  Simon J. Gerraty  (sjg@sun0)
  130.  
  131.     * removed const qualifyer from setctypes() 1st arg, as gcc-2.1
  132.     generates incorrect code for this function.  This is a temperary
  133.     hack until gcc is fixed.
  134.  
  135.     * do not install std/stdc/stdarg.h in std/h, any compiler that
  136.     will use stdarg.h should have one.
  137.  
  138. Sun Apr 19 20:16:32 1992  Simon J. Gerraty  (sjg@zen)
  139.  
  140.     * added support of stdargs to tree.c and _fixed_ the use of
  141.     varargs. 
  142.  
  143. Sat Apr 18 16:35:48 1992  Simon J. Gerraty  (sjg@zen)
  144.  
  145.     * x_read(edit.c): added logic to check $EDITOR etc.
  146.  
  147.  
  148. Fri, 10 Jan 92 13:13:52      Bullseye Software  (sumax!polari!bullseye)
  149.  
  150.     * alloc.c:afreeall() references memory it has already deallocated.
  151.  
  152. Wed, 1 Jan 92 20:03:55    Bert Gijsbers (a430mcb1@diamond.sara.nl)
  153.  
  154.     * expand(eval.c):  PS1='${PWD##/*/}[!]% ' prints also characters
  155.     with ascii = 128 
  156.  
  157.     * main(main.c): Testing whether the first letter of argv[0] is a
  158.     '-' does not work when ksh reads .kshrc.
  159.  
  160. Sun, 29 Dec 91 20:05:02  Bert Gijsbers (a430mcb1@diamond.sara.nl)
  161.  
  162.     * Support for Minix.
  163.  
  164. Wed, 11 Dec 91 12:41:31    Kees J. Bot (kjb@cs.vu.nl)
  165.  
  166.     * fixes for sun3 with 4.1.1
  167.  
  168. Wed, 4 Dec 91 15:53:43  Reg Quinton (reggers@julian.uwo.ca)
  169.  
  170.     * fixes for SGI
  171.  
  172. Mon Nov 25 12:36:42 1991  Simon J. Gerraty  (sjg at zen)
  173.  
  174.     * stdh.h:  make sure FD_CLEXEC is defined if we support F_SETFD.
  175.  
  176.     * emacs.c: Attempt to make alloc() of x_tab acceptible to more
  177.     compilers.  Not 100% yet.
  178.  
  179. Sat Nov 23 14:31:44 1991  Simon J. Gerraty  (sjg at zen)
  180.  
  181.     * Improved fd_clexec handling for systems that don't have
  182.     an F_SETFD fcntl().  The new arrangement will not blow up if an
  183.     attempt is made to fd_clexec a fd above MAXFD (64 by default).
  184.     main.c:main()  and io.c:savefd() now simply call
  185.     exec.c:fd_clexec().
  186.  
  187. Sat Aug  1 17:11:24 1992  Simon J. Gerraty  (sjg@zen)
  188.  
  189.     * Incorporated massive contribution from Peter Collinson
  190.     Refer to Changes.pc
  191.  
  192.     * Incorporated Emacs-style completion provided by
  193.     Neil.Smithline@eng.sun.com this a bit nicer than the standard ksh
  194.     file completion.
  195.  
  196. Sun May  3 17:50:03 1992  Simon J. Gerraty  (sjg@zen)
  197.  
  198.     * Updated MACHINES.
  199.     * Placed source under CVS.  This should help with processing fixes
  200.     from the field.
  201.  
  202. Sat Apr 25 10:53:20 1992  Simon J. Gerraty  (sjg@zen)
  203.  
  204.     * Getting ready for 4.3 release.  
  205.  
  206. Fri Nov 22 22:24:29 1991  Simon J. Gerraty  (sjg at zen)
  207.  
  208.     * Cleaned up the build process slightly.  Makefiles in ./std tree
  209.     now maintain objects within the libraries rather than simply
  210.     building the .o's and archiving them.  Of course the make(1) used
  211.     must know how to maintain libraries :-)
  212.  
  213.     * Added bug.report as a template for bug reporting.
  214.  
  215.     * Source in ./sh can be built independently of ./std tree if
  216.     desired.  See comments in ./sh/Makefile.
  217.  
  218.     * As originally distributed some of libstdc.a was not used and
  219.     libposix.a was not used at all.  On Sun's this highlighted a bug
  220.     (incompatibility) in the times() call.  Now the ./std/libs are
  221.     used fully, and the supplied times() call functions as expected.
  222.  
  223. Fri Nov 22 11:24:57 1991  Simon J. Gerraty  (sjg at zen)
  224.  
  225.     * Since many people had problems using the headers and libraries
  226.     in std/*, modified sh/* so that they can be compiled in the
  227.     absence of std/*.  This requires putting in some fixes that I had
  228.     left out from my 3.2 version.  Particularly, catering for systems
  229.     that do not have F_SETFD.
  230.  
  231.     * exec.c:
  232.     Added fd_clexec array for tracking fd's to close in child after
  233.     fork().  This is avoid wasting fd's on systems that don't have
  234.     F_SETFD.
  235.  
  236.     * jobs.c:
  237.     Allow Sun's and perhaps other BSD systems to define WAIT_T to be
  238.     union wait and thus use their native status handling for children.
  239.  
  240.     * The file sh/MACHINES now tracks systems the shell has been
  241.     compiled on.
  242.  
  243.  
  244. Sat Nov  9 14:57:30 1991  Simon J. Gerraty  (sjg at zen)
  245.  
  246.     * Release version 4.1 as a new base line.
  247.  
  248. Thu Nov  7 23:11:25 1991  Simon J. Gerraty  (sjg at zen)
  249.  
  250.     * John R MacMillan suppied a fix for a bug in yylex() that was the
  251.     cause of several odd problems such as:
  252.         $ foo=echo
  253.         $ $foo bar
  254.         bar: not found
  255.         $ pwd
  256.         $ /local/src/pdksh
  257.         $ $foo bar
  258.         bar
  259.         $
  260.  
  261. Sun Sep 15 23:19:27 1991  Simon J. Gerraty  (sjg at zen)
  262.  
  263.     * emacs.c:
  264.     Added function x_lastcp() which returns a pointer to that char in
  265.     the edit buffer that will be the last displayed on the screen.
  266.     Thus:
  267.  
  268.           cp = x_lastcp();
  269.       while (cp > xcp)
  270.             x_bs(*--cp);
  271.  
  272.     Will correctly position the cursor on the screen (regardless of
  273.     TABs etc in the buffer).  The previous method got out of sync if
  274.     there were any TABs to display.
  275.  
  276. Wed Aug  7 11:26:55 1991  Simon J. Gerraty  (sjg at sun0)
  277.  
  278.     * jobs.c:
  279.     The Sun SPARCstation 2 was proving extremely unreliable using ksh.
  280.     After puting traces in jobs.c, it turns out the problem was
  281.     multiple SIGCHLD events happening too quickly causing the handler
  282.     to be interupted and thus not recognise the job that it had just
  283.     reaped was one of its own.  Having done the waitpid(), but not
  284.     adjusted the job table entry, j_waitj() would loop forever waiting
  285.     for a job to finnish (that had already done so!)
  286.     Solution was to have the SIGCHLD handler simply record the events
  287.     by inrcrementing sigchld_caught.  The actual reaping is now done
  288.     in a new funtion j_reapchld(), which does what the old signal
  289.     handler did but blocks SIGCHLD while scanning the job table.
  290.     j_waitj() calls j_reapchld() when sigchld_caught is non-zero.
  291.     The SS2 is now much more reliable...
  292.  
  293.     * trace.c:
  294.     Added my simple _TRACE facility (used to track the j_waitj
  295.     problem).  Simply -DUSE_TRACE for it to have effect.  If USE_TRACE
  296.     is undefined, calls to _TRACE() expand to while(0) which an
  297.     optimizer will usually remove.  sh.h now includes trace.h
  298.  
  299. Mon Jun 10 10:27:14 1991  Simon J. Gerraty  (sjg at zen)
  300.  
  301.     * emacs.c:
  302.     A couple of assignments (xbp = xbuf) were not migrated from the
  303.     3.2 version.  Caused an anoying bug when retrieving history
  304.     commands.
  305.  
  306. Mon May 27 12:50:20 1991  Simon J. Gerraty  (sjg at sun0)
  307.  
  308.     * added fixes supplied by Mike Jetzer:
  309.     These relate mainly to vi mode.  See Changes.mlj
  310.  
  311.     * c_sh.c c_exit():
  312.     Modified behavior to not imediately exit if there are stopped
  313.     jobs.  A subsequent exit will kill any jobs left and terminate the
  314.     shell.
  315.  
  316. Fri May 24 15:20:10 1991  Simon J. Gerraty  (sjg at sun0)
  317.  
  318.     * edit.h:
  319.     Cleaned up prototypes.  Built shell on sun3.
  320.     While gcc-1.39 builds the ksh ok on the 386i, on the sun3 jobs
  321.     don't work correctly - any non-builtin command gets stopped and
  322.     put into the background.  Had same problem with 3.2, using
  323.     /usr/bin/cc works fine.
  324.  
  325. Thu May 23 13:45:20 1991  Simon J. Gerraty  (sjg at sun0)
  326.  
  327.     * migrated my 3.2 edit.c changes to the new shell.
  328.     Affects edit.c, emacs.c
  329.     Added edit.h which is now included by edit.c,emacs.c and vi.c
  330.  
  331.     * vi.c:
  332.     Fixed handling of '!' in prompt by using pprompt() as in emacs.c
  333.  
  334.     * std/stdc/vprintf.c:
  335.     Fixed bug in output of left '0' padded unsigned numbers was
  336.     always padding with ' ' which left a space in ksh's temp file
  337.     names.  This prevented fc -l from working.
  338.  
  339. Here is my 3.2 ChangeLog:
  340. Fri Mar 22 16:50:14 1991  Simon J. Gerraty  (sjg at sun0)
  341.  
  342.     * edit.c:
  343.     Added x_set_arg() and x_prev_histword().
  344.     x_set_arg() handles 'ESC''0-9' type args which are used by word
  345.     related commands.
  346.     x_prev_histword() recovers the last (default) or sepcified arg
  347.     word from the previous command line.  Bound to ESC. and ESC_ to be
  348.     compatible with real ksh.
  349.  
  350. Tue Feb 26 14:16:17 1991 Simon J. Gerraty  (sjg at zen)
  351.  
  352.     * edit.c:
  353.     Changes to handle editing of command lines longer than $COLUMNS in
  354.     a manner compatible with real ksh.
  355.  
  356. Mon Feb 25 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  357.  
  358.     * var.c,table.h:
  359.     Implemented $RANDOM
  360.     Some scripts use [ "$RANDOM" != "$RANDOM" ] to check for ksh.
  361.  
  362. Wed Feb 20 12:20:36 1991 Simon J. Gerraty  (sjg at sun0)
  363.  
  364.     Changes so that shell will compile on sun386i.
  365.  
  366.     * exec.c,main.c,io.c:
  367.     Handle the case where FD_CLEXEC isn't defined.
  368.  
  369.     * jobs.c:
  370.     SunOS has its own ideas about job status etc.
  371.  
  372.     * tree.c:
  373.     Fixed conflict between varargs and stdarg.
  374.  
  375.  
  376.  
  377.  
  378.